package com.baomidou.springwind.pojo;

import java.util.ArrayList;
import java.util.List;

/**
 * 车辆批次信息
 *
 * @Author demo
 * @Date 2017-8-22
 */
public class VehicleBatch {
    private int vehicle;
    private List<Long> nodeList = new ArrayList<Long>();
    private List<Double> amountList = new ArrayList<Double>();

    public int getVehicle() {
        return vehicle;
    }

    public void setVehicle(int vehicle) {
        this.vehicle = vehicle;
    }

    public List<Long> getNodeList() {
        return nodeList;
    }

    public void addNode(Long nodeId) {
        nodeList.add(nodeId);
    }

    public List<Double> getAmountList() {
        return amountList;
    }

    public void addAmount(Double amount) {
        amountList.add(amount);
    }

    @Override
    public String toString() {
        return "VehicleBatch{" +
                "vehicle=" + vehicle +
                ", nodeList=" + nodeList +
                ", amountList=" + amountList +
                '}';
    }
}
